#include "include/ToolBox.h"
#include "include/ToolBoxView.h"


ToolBox::ToolBox(){

}

ToolBoxView & ToolBox::CreateView(){
    m_View      =   new ToolBoxView(*this);
    return * m_View;
}

void ToolBox::SetSelectedTool(Tool &tool){
    m_SelectedTool  =   &tool;

    QMessageBox msgBox;
    msgBox.setText(QString::fromStdString( tool.m_Name));
    msgBox.exec();
}
